﻿<%@ Page Language="c#" Inherits="WinnerCMS.WebUI.Admin.CMSGG.Add" CodeBehind="Add.aspx.cs" %>

<!doctype html>
<html>
<head>
    <title>广告</title>
    <%: Scripts.Render("~/Scripts/AdminBase") %>
    <%: Styles.Render("~/Content/Bootstrap/css") %>

    <meta http-equiv="Pragma" content="No-cach"/>
</head>
<body>
<form id="Form1" method="post" runat="server">
    <table class="TabelGrid" class="table table-bordered table-condensed table-hover">
        <tr>
            <td align="right" style="width: 105px">
                <strong>广告类型：</strong>
            </td>
            <td width="595" align="left">
                <asp:DropDownList ID="ddlShowType" runat="server">
                    <asp:ListItem Value="1">普通显示</asp:ListItem>
                    <asp:ListItem Value="2">满屏浮动显示</asp:ListItem>
                    <asp:ListItem Value="3">固定浮动显示</asp:ListItem>
                    <asp:ListItem Value="4">渐隐消失</asp:ListItem>
                    <asp:ListItem Value="5">普通网页对话框</asp:ListItem>
                    <asp:ListItem Value="6">对联式广告</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td height="26" align="right" style="width: 105px">
                <strong>中文站名：</strong>
            </td>
            <td height="26" align="left">
                <WinnerCMS:TrimTextBox ID="TtxtSiteName" runat="server"></WinnerCMS:TrimTextBox>
            </td>
        </tr>
        <tr>
            <td height="26" align="right" style="width: 105px">
                <strong>客户姓名：</strong>
            </td>
            <td height="26" align="left">
                <WinnerCMS:TrimTextBox ID="TtxtUserName" runat="server"></WinnerCMS:TrimTextBox>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 105px">
                <strong>联系方式：</strong>
            </td>
            <td align="left">
                <WinnerCMS:TrimTextBox ID="TtxtContact" runat="server"></WinnerCMS:TrimTextBox>（电话或EMAIL）：
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 105px">
                <strong>链接URL：</strong>
            </td>
            <td align="left">
                <WinnerCMS:TrimTextBox ID="TtxtUrl" runat="server" Width="345px"></WinnerCMS:TrimTextBox>
                广告转向链接
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 105px">
                <strong>广告URL：</strong>
            </td>
            <td align="left">
                <WinnerCMS:TrimTextBox ID="TtxtAd_Url" runat="server" Width="344px"></WinnerCMS:TrimTextBox>
                图片或者Flash
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 105px">
                <strong>上传：</strong>
            </td>
            <td align="left">
                <asp:FileUpload ID="FileUpload1" runat="server" Width="322px"/>
                &nbsp;

                <asp:Button ID="btnUpLoad" runat="server" OnClick="btnUpLoad_Click" Text="上传" CssClass="btn btn-default"/>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 105px">
                <strong>广告条大小：</strong>
            </td>
            <td align="left">
                宽度：

                <WinnerCMS:NumericTextBox ID="NtxtWidth" runat="server" Width="36px">100</WinnerCMS:NumericTextBox>&nbsp;&nbsp;&nbsp;
                高度：

                <WinnerCMS:NumericTextBox ID="NtxtHeight" runat="server" Width="36px">100</WinnerCMS:NumericTextBox>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 105px">
                <strong>打开方式：</strong>
            </td>
            <td align="left">
                <asp:DropDownList ID="ddlTarget" runat="server">
                    <asp:ListItem Value="_blank">_blank</asp:ListItem>
                    <asp:ListItem Value="_parent">_parent</asp:ListItem>
                    <asp:ListItem Value="_self">_self</asp:ListItem>
                    <asp:ListItem Value="_top">_top</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 105px">
                <strong>广告提示文字：</strong>
            </td>
            <td align="left">
                <WinnerCMS:TrimTextBox ID="TtxtNote" runat="server" Width="360px"></WinnerCMS:TrimTextBox>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 105px">
                <strong>广告播放条件：</strong>
            </td>
            <td>
                受多个条件限制的广告，只要有一个条件满足，该广告便自动进入休眠状态，你可以修改限制条件并激活广告。
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 105px">
                <strong>点击数不超过：</strong>
            </td>
            <td align="left">
                <WinnerCMS:TrimTextBox ID="TtxtMaxClick" runat="server" Width="72px">0</WinnerCMS:TrimTextBox>&nbsp;<font
                                                                                                                        face="宋体">
                    为0该选项不起作用
                </font>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 105px">
                <strong>显示数不超过：</strong>
            </td>
            <td align="left">
                <WinnerCMS:TrimTextBox ID="TtxtMaxShowTime" runat="server" Width="72px">0</WinnerCMS:TrimTextBox><font
                                                                                                                     face="宋体">
                    &nbsp; 为0该选项不起作用
                </font>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 105px">
                <strong>截止日期：</strong>
            </td>
            <td align="left">

                <div class="input-group date">
                    <input type="text" class="form-control"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span>
                </div>

                <asp:HiddenField ID="txtMaxDateTime" runat="server"/>

            </td>
        </tr>
        <tr>
            <td align="right" style="width: 105px">
                <strong>备注： </strong>
            </td>
            <td align="left">
                <WinnerCMS:TrimTextBox ID="TtxtRemark" runat="server" Width="375px" TextMode="MultiLine"
                                       Rows="5">
                </WinnerCMS:TrimTextBox>
            </td>
        </tr>
    </table>
    <div align="center">
        <BootStrap:Button ID="btnOK" runat="server" Text=" 提交 " EnableViewState="False" OnClick="btnOK_Click"
                          CssClass="btn btn-default">
        </BootStrap:Button>
    </div>
</form>
</body>
</html>